from Products.CMFCore import CMFCorePermissions
from AccessControl import getSecurityManager, ClassSecurityInfo
from Products.Archetypes.public import *
from Products.Archetypes.interfaces.orderedfolder import IOrderedFolder
from Products.ATContentTypes.atct import ATFolder, ATFolderSchema
from Products.GrupoVisao.config import *

FolderBannerCientifico_schema = ATFolderSchema.copy()

class folder_banner_cientifico(ATFolder):
    
    """A frequently asked questions list."""
    schema = FolderBannerCientifico_schema
    
    archetype_name = 'Pasta de banners da area cientifica do portal'

    meta_type = 'folder_banner_cientifico'
    portal_type = 'folder_banner_cientifico'
    #content_icon                = "destaques_icon.gif"
    filter_content_types        = True
    allowed_content_types       = ['banner_cientifico']
    archetype_name          = "folder_banner_cientifico"
    default_view                = "banner_cientifico_view"
    immediate_view              = "banner_cientifico_view"
    #suppl_views         = ( "folder_summary_view", "folder_tabular_view" )

    security            = ClassSecurityInfo()
    security.declarePublic("listFolderContents")

registerType(folder_banner_cientifico, PROJECTNAME)